﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Project.Model.EF6.Base;

namespace Project.Model.EF6.Entity
{
    //生产销售统计表
    [Table("T_XLW_PRODUCTIONREPORT")]
    public class ProductionReport
    {
        [Key]
        [StringLength(32)]
        [Column(TypeName = "varchar2")]
        public string ID { get; set; }

        [StringLength(20)]
        [Column(TypeName = "varchar2")]
        public string JOBNUMBER { get; set; }

        [StringLength(32)]
        [Column(TypeName = "varchar2")]
        public string SYS_PROID { get; set; }//prod guid产品32位guid

        [StringLength(50)]
        [Column(TypeName = "varchar2")]
        public string PRODUCTCODE { get; set; }

        [StringLength(50)]
        [Column(TypeName = "varchar2")]
        public string PRODUCEBATCH { get; set; }

        [StringLength(50)]
        [Column(TypeName = "varchar2")]
        public string PRODUCELINE { get; set; }//生产线号GUID

        public int QUANTITY { get; set; }//统计数量

        public int REPEATCOUNT { get; set; }
        [StringLength(50)]
        [Column(TypeName = "varchar2")]
        public string SALE_AREA { get; set; }//经销商ID

        public DateTime PMTIME { get; set; }//生产时间（到天）
        public DateTime ROW_CREATE_DATE { get; set; }
    }
}
